package cn.hqc.user.service;


import cn.hqc.basic.service.BaseService;
import cn.hqc.basic.utils.AjaxResult;
import cn.hqc.user.domain.User;
import cn.hqc.user.dto.AccountLoginDto;
import cn.hqc.user.dto.PhoneRegisterDto;
import cn.hqc.user.dto.BinderDto;
import cn.hqc.user.dto.WechatDto;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itsource
 * @since 2023-05-06
 */
public interface IUserService extends BaseService<User> {

    void phoneRegist(PhoneRegisterDto dto);

    Map<String, Object> accountLogin(AccountLoginDto dto);

    AjaxResult accountWechat(WechatDto dto);

    Map<String, Object> accountBinder(BinderDto dto);

    User findByLogininfoId(Long logininfoId);
}
